package ymos.mytracker.json;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

public class ServInfo {
	private Integer state;
	@JsonInclude(Include.NON_NULL)
	private String msg;
	@JsonInclude(Include.NON_NULL)
	private String ip;
	@JsonInclude(Include.NON_NULL)
	private Integer port;
	@JsonInclude(Include.NON_NULL)
	private String servername;
	@JsonInclude(Include.NON_NULL)
	private String map;
	@JsonInclude(Include.NON_NULL)
	private Integer players;
	@JsonInclude(Include.NON_NULL)
	private Integer maxplayer;
	private List<String> playerlist;
	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public Integer getPort() {
		return port;
	}
	public void setPort(Integer port) {
		this.port = port;
	}
	public String getServername() {
		return servername;
	}
	public void setServername(String servername) {
		this.servername = servername;
	}
	public String getMap() {
		return map;
	}
	public void setMap(String map) {
		this.map = map;
	}
	public Integer getPlayers() {
		return players;
	}
	public void setPlayers(Integer players) {
		this.players = players;
	}
	public Integer getMaxplayer() {
		return maxplayer;
	}
	public void setMaxplayer(Integer maxplayer) {
		this.maxplayer = maxplayer;
	}
	public List<String> getPlayerlist() {
		return playerlist;
	}
	public void setPlayerlist(List<String> playerlist) {
		this.playerlist = playerlist;
	}
	public Integer getState() {
		return state;
	}
	public void setState(Integer state) {
		this.state = state;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	
}
